482733a382071a60b4fd725d7884bf050784b836,plugins/svn4idea/src/org/jetbrains/idea/svn/history/LatestExistentSearcher.java,LatestExistentSearcher,getDeletionRevision,#,50

Before Change



        final String urlRelativeString = myUrl.toString().substring(repRoot.toString().length());
        final SVNRevision startRevision = SVNRevision.create(myStartNumber);
        myVcs.createLogClient().doLog(existingParent, new String[]{""}, startRevision, startRevision, SVNRevision.HEAD, false, true, 0,
                       new ISVNLogEntryHandler() {
                         public void handleLogEntry(final SVNLogEntry logEntry) throws SVNException {
                           final Map changedPaths = logEntry.getChangedPaths();
                           for (Object o : changedPaths.values()) {
                             final SVNLogEntryPath path = (SVNLogEntryPath) o;
                             if ((path.getType() == 'D') && (urlRelativeString.equals(path.getPath()))) {
                               latest.set(logEntry.getRevision());
                               throw new SVNException(SVNErrorMessage.UNKNOWN_ERROR_MESSAGE);
                             }
                           }
                         }
                       });
      }
    }
    catch (SVNException e) {

After Change


        final SVNRevision startRevision = SVNRevision.create(myStartNumber);
        SvnTarget target = SvnTarget.fromURL(existingParent, startRevision);
        myVcs.getFactory(target).createHistoryClient()
          .doLog(target, startRevision, SVNRevision.HEAD, false, true, false, 0, null, createHandler(latest, urlRelativeString));
      }
    }
    catch (SVNException e) {